#include "Partie.h"
 
using namespace std;

Partie::Partie()
{
	set="NR"; // poker
	game="NR"; // game id
	moveid="NR";
	turn="NR"; 
	move1="NR";
	gain1="NR";
	gain2="NR";
	timeout="NR";
	level="NR";
	referee="NR";
	status="NR";
	tray="NR";
}

void Partie::setSet(string newset)
{
	set = newset ;
}

void Partie::setgame(string newgame)
{
	game = newgame ;
}

void Partie::setmoveid(string newmoveid)
{
	moveid = newmoveid ;
}

void Partie::setturn(string newturn) 
{
	turn = newturn ;
}

void Partie::setmove1(string newmove1)
{
	move1 = newmove1 ;
}

void Partie::setgain1(string newgain1)
{
	gain1 = newgain1 ;
}

void Partie::setgain2(string newgain2)
{
	gain2 = newgain2 ;
}

void Partie::settimeout(string newtimeout)
{
	timeout = newtimeout ;
}

void Partie::setlevel(string newlevel)
{
	level = newlevel ;
}

void Partie::setreferee(string newreferee)
{
	referee = newreferee ;
}

void Partie::setstatus(string newstatus)
{
	status = newstatus ;
}

void Partie::settray(string newtray)
{
	tray = newtray ;
}

void Partie::printall()
{
	cout << "set:" << set << endl; // poker
	cout << "game:" << game << endl;
	cout << "moveid:" << moveid << endl;
	cout << "turn:" << turn << endl;
	cout << "move1:" << move1 << endl;
	cout << "gain1:" << gain1 << endl;
	cout << "gain2:" << gain2 << endl;
	cout << "timeout:" << timeout << endl;
	cout << "level:" << level << endl;
	cout << "referee:" << referee << endl;
	cout << "status:" << status << endl;
	cout << "tray:" << tray << endl;
}
